package com.accounting.client.remote.obj;

import java.util.Date;

import corelib.client.jsonrpc.JSONSerializable;

public class PurchaseRecord implements JSONSerializable {

	private String Id;
	private String ProductId;
	private String Name;
	private String ProductName;
	private String OperatorId;
	private String PostOperatorId;
	private String OperatorName;
	private double Cost;
	private String CostCurrency;
	private int    Count;
	private double Postage;
	private double Rate;
	private int    Location;
	private Date   DateCreated;
	private Date   DateUpdated;

	public PurchaseRecord() {
		
	}

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getProductId() {
		return ProductId;
	}

	public void setProductId(String productId) {
		ProductId = productId;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getProductName() {
		return ProductName;
	}

	public void setProductName(String productName) {
		ProductName = productName;
	}

	public String getOperatorId() {
		return OperatorId;
	}

	public void setOperatorId(String operatorId) {
		OperatorId = operatorId;
	}

	public String getOperatorName() {
		return OperatorName;
	}

	public void setOperatorName(String operatorName) {
		OperatorName = operatorName;
	}
	
	public String getPostOperatorId() {
		return PostOperatorId;
	}

	public void setPostOperatorId(String postOperatorId) {
		PostOperatorId = postOperatorId;
	}

	public double getCost() {
		return Cost;
	}

	public void setCost(double cost) {
		Cost = cost;
	}

	public String getCostCurrency() {
		return CostCurrency;
	}

	public void setCostCurrency(String costCurrency) {
		CostCurrency = costCurrency;
	}

	public int getCount() {
		return Count;
	}

	public void setCount(int count) {
		Count = count;
	}

	public double getPostage() {
		return Postage;
	}

	public void setPostage(double postage) {
		Postage = postage;
	}
	
	public int getLocation() {
		return Location;
	}

	public Date getDateCreated() {
		return DateCreated;
	}

	public void setLocation(int location) {
		Location = location;
	}

	public void setDateCreated(Date dateCreated) {
		DateCreated = dateCreated;
	}

	public Date getDateUpdated() {
		return DateUpdated;
	}

	public void setDateUpdated(Date dateUpdated) {
		DateUpdated = dateUpdated;
	}

	public double getRate() {
		return Rate;
	}

	public void setRate(double rate) {
		Rate = rate;
	}
	
}
